<template>
  <view class="setting">
    <view class="main">
      <view class="main_item" @click="toDetail">
        <view>保养任务设置</view>
        <view>
          <uni-icons type="arrowright" size="16" color="#999"></uni-icons>
        </view>
      </view>
      <view class="main_item" @click="toDebug">
        <view>调试页面</view>
        <view>
          <uni-icons type="arrowright" size="16" color="#999"></uni-icons>
        </view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		toDetail() {
			uni.navigateTo({
				url: '/pageModules/setting/maintain',
			});
		},
		toDebug() {
			uni.navigateTo({
				url: '/pageModules/setting/debug',
			});
		}
	},
};
</script>

<style lang="scss" scoped>
.setting {
  background: #f3f6f8;
  height: 100vh;
  .main {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main_item {
    width: 710rpx;
    display: flex;
    justify-content: space-between;
    background: #ffffff;
    padding: 20rpx 28rpx;
    margin: 16rpx 0;
    color: #333;
    border-radius: 8rpx;
    box-sizing: border-box;
    font-size: 28rpx;
  }
}
</style>
